package cn.itcast.zt.java8.feed;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MaterialBean {
    // 位置信息 map排序位置 为了刷定位使用
    private Integer position ;
    private String materialId ;
    private Integer pit = 0;
    private Integer priority = 0 ;

    public MaterialBean(String materialId) {
        this.materialId = materialId ;
    }

    public MaterialBean(String materialId, Integer priority) {
        this.materialId = materialId ;
        this.priority = priority ;
    }

    public MaterialBean(String materialId, Integer pit, Integer priority) {
        this.materialId = materialId ;
        this.pit = pit ;
        this.priority = priority ;
    }
}